import Vue from "vue"
import VueRouter from "vue-router"

import Edit from "@/pages/Edit"
import FormList from "@/pages/FormList"
import Form from "@/pages/Form"

Vue.use(VueRouter)
const router = new VueRouter({
  routes: [{
    path: "/",
    redirect: "/editting"
  }, {
    path: "/editting",
    name: "Editting",
    component: Edit,
  }, {
    path: "/formList",
    name: "FormList",
    component: FormList
  }, {
    path: "/form",
    name: "Form",
    component: Form
  }, ]
})

export default router